 
#ifndef __CX_QTIMER_H__
#define __CX_QTIMER_H__

#include "cx_typedef.h"

#ifdef __cplusplus
extern "C" {
#endif

	typedef QINT (CALLBACK* cxTimerCallBack)(QINT nTimerId, QVOID* pObject);

	// reserved functions, global call, in some platform they do nothing
	QBOOL cx_timer_init(QVOID* pUnused);
	QVOID cx_timer_uninit( QVOID );
	//
	//QINT cx_timer_start(QDWORD millisec, QVOID* timenotify,QVOID* time_param);
	//QVOID cx_timer_stop(QINT aTimerId);

	QINT  cx_timer_start(QDWORD millisec, cxTimerCallBack pfNotify, QVOID* pObject);
	QVOID cx_timer_stop(QINT aTimerId);

#ifdef __cplusplus
}
#endif

#endif // end of __CX_QTIMER_H__